package com.temp_1;
/** 局部类部类 **/

public class Outer {
    private int num = 1;
    public void method(){
        class Inner{
            public void show(){
                System.out.println(num);
            }
        }

        Inner i = new Inner();
        i.show();
    }
}


